home *** CD-ROM | disk | FTP | other *** search
- /**************************************************************************
- * EVNXTIME.C - Extended evnt_timer() routine...
- *************************************************************************/
-
- #include "gemfintl.h"
-
-
- #ifdef __GNUC__
-
- #undef evnt_timer
-
- extern short evnt_timer(unsigned long milliseconds);
-
- short _EvntFixGNUTimer(unsigned short locount, unsigned short hicount)
- {
- return evnt_timer((((unsigned long)hicount) << 16) | locount);
- }
-
- #endif /* __GNUC__ */
-
- short evnx_timer(milliseconds)
- unsigned long milliseconds;
- {
- #ifdef __GNUC__
- return evnt_timer(milliseconds);
- #else
- return evnt_timer((short)(milliseconds&0xFFFF),(short)(milliseconds>>16));
- #endif
- }
-
-